package com.hjxy.service.impl;

import com.hjxy.dao.UserLoginDao;
import com.hjxy.pojo.UserLogin;
import com.hjxy.service.UserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: ty
 * @createDate: 2020/10/9
 * @version: 1.0
 */
@Service
public class UserLoginServiceImpl implements UserLoginService {
    @Autowired
    private UserLoginDao userLoginDao;
    @Override
    public UserLogin queryUsernamePassword(String username, String password) {
        return userLoginDao.queryUsernamePassword(username,password);
    }
}
